home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / fire-man.swf / scripts / frame_1179 / PlaceObject2_1055_83 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2011-10-17  |  364 b   |  20 lines

  1. onClipEvent(enterFrame){
  2.    _visible = this.hitTest(_root.mascara);
  3.    _X = _X - heroe.scrollspeed;
  4.    if(mover)
  5.    {
  6.       _Y = _Y + dy;
  7.       c--;
  8.       if(!this.hitTest(_root.mascara) || c <= 0)
  9.       {
  10.          mover = false;
  11.          borrar = true;
  12.       }
  13.    }
  14.    if(borrar)
  15.    {
  16.       this.removeMovieClip();
  17.       borrar = false;
  18.    }
  19. }
  20.